/**
 * 
 */
package com.pmsco.pms.business.dto;

import com.pmsco.pms.util.PmsUserSession;


/**
 * @author Long Tran
 *
 */
public class LogonReturnDTO extends AbstractReturnDTO {
	private String userName;
	private String password;
	private boolean logonFail;
	private boolean showWarningMessage;
	private boolean showLockMessage;
	private PmsUserSession pmsUserSession;
	
	public LogonReturnDTO() {
		setUserName("");
		setPassword("");
		setReturnView("");
		setReturnUrl("");
		setLogonFail(false);
		setShowWarningMessage(false);
		setShowLockMessage(false);
		setPmsUserSession(null);
	}

	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * @param userName the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @return the logonFail
	 */
	public boolean isLogonFail() {
		return logonFail;
	}

	/**
	 * @param logonFail the logonFail to set
	 */
	public void setLogonFail(boolean logonFail) {
		this.logonFail = logonFail;
	}

	/**
	 * @return the showWarningMessage
	 */
	public boolean isShowWarningMessage() {
		return showWarningMessage;
	}

	/**
	 * @param showWarningMessage the showWarningMessage to set
	 */
	public void setShowWarningMessage(boolean showWarningMessage) {
		this.showWarningMessage = showWarningMessage;
	}

	/**
	 * @return the showLockMessage
	 */
	public boolean isShowLockMessage() {
		return showLockMessage;
	}

	/**
	 * @param showLockMessage the showLockMessage to set
	 */
	public void setShowLockMessage(boolean showLockMessage) {
		this.showLockMessage = showLockMessage;
	}

	/**
	 * @return the pmsUserSession
	 */
	public PmsUserSession getPmsUserSession() {
		return pmsUserSession;
	}

	/**
	 * @param pmsUserSession the pmsUserSession to set
	 */
	public void setPmsUserSession(PmsUserSession pmsUserSession) {
		this.pmsUserSession = pmsUserSession;
	}
	
}
